package cn.zebra.dev.other.module.orderssalesreturn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("orders_sales_return")
@Getter
@Setter
public class OrdersSalesReturnEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("退货状态（1 已发货，2 已签收）")
    private Long state;

    @ApiModelProperty("订单明细id")
    private Long orderItemId;

    @ApiModelProperty("店铺售后id")
    private Long shopAfterId;

    @ApiModelProperty("物流单号")
    private String logisticsCode;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
